package com.aizhixin.quick.dto;

import com.aizhixin.quick.validated.Update;
import lombok.Data;
import lombok.NonNull;
import org.aspectj.bridge.Message;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateExamTypeDTO {
    @NotNull(message = "试题分类ID不为空",groups = Update.class)
    private Integer examTypeid;
    @NotBlank(message = "分类名称不为空",groups =Update.class )
    private String  examTypeName;
    @NotBlank(message = "分类等级不为空",groups =Update.class )
    private String examTypeLevel;
    @NotBlank(message = "描述不为空",groups =Update.class )
    private String describe;
}
